/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.common.source.network.callback;

/**
 * @author Young Ken
 */

public interface MultiUploadFileProgressListener {

    /**
     * single upload progress
     *
     * @param fileName          fileName
     * @param currentBytesCount current
     * @param totalBytesCount   total
     * @param complete          单个文件完成
     */
    void onSingleUploadProgress(String fileName,
                                long currentBytesCount, long totalBytesCount, boolean complete);

    /**
     * all upload progress
     *
     * @param currentBytesCount all current
     * @param totalBytesCount   all total
     * @param complete          全部文件完成
     */
    void onAllUploadProgress(long currentBytesCount, long totalBytesCount, boolean complete);
}
